package com.xunai.saas.example.model.enums;

import lombok.Data;


/**
 * 公共参数枚举内容
 * @author Admin
 */

public enum PublicEnum {
    NOTIFY_URL("", "回调地址(注:调试阶段可使用内网穿透将本地部署,从而方便调试)"),
    NOTIFY_RETURN("{\"result\":\"SUCCESS\"}", "回调固定返回内容,若不返回此值,将一直会有回调"),
    SECRET_ID("secretId", "接口鉴权数据,可在接口平台官网中。【安全设置】模块中查看"),
    SECRET_KEY("secretKey", "接口鉴权数据,可在接口平台官网中。【安全设置】模块中查看");

    private String key;

    private String describe;

    PublicEnum(String key, String describe) {
        this.key = key;
        this.describe = describe;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }
}
